const download = require('download-git-repo')
download('direct:https://gitee.com/beiyaoyaoyao/egg-template', './xxx',{clone:true}, function (err) {
    console.log(err ? 'Error' : 'Success')
})